package org.u2ml.app.domain;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("connection")
public class Connection extends ResponseData {
	@XStreamAsAttribute
	private String email;
	@XStreamAsAttribute
	private String password;
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	@Override
	public String toString() {
		return "Connection [email=" + email + ", password=" + password + "]";
	}
}
